package com.jiyun.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("vehicle")
@ApiModel(value = "Vehicle对象", description = "车辆信息表")
public class Vehicle implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "车辆类型")
    private Integer vechicleType;

    @ApiModelProperty(value = "车辆图片")
    private String picturesimage;

    @ApiModelProperty(value = "车牌号")
    private String licensePlateNumber;

    @ApiModelProperty(value = "车型")
    private String vehicleModel;

    @ApiModelProperty(value = "能源类型")
    private String energyType;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "厂家")
    private String factory;

    @ApiModelProperty(value = "车辆VIN编号")
    private String vinNumber;

    @ApiModelProperty(value = "发动机编号")
    private String engineNumber;

    @ApiModelProperty(value = "司机ID")
    private Integer driverUid;

    @ApiModelProperty(value = "电池容量")
    private Integer batteryCapacity;

    @ApiModelProperty(value = "车龄")
    private Integer cheage;

    @ApiModelProperty(value = "CTLC续航里程数")
    private String endurance;

    @ApiModelProperty(value = "电池类型")
    private String batterytype;

    @ApiModelProperty(value = "司机外键")
    private Integer did;
}
